package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 店铺进货订单表
 * </p>
 *
 * @author yang
 * @since 2021-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_store_purchase_order")
@ApiModel("店铺进货订单表")
public class StorePurchaseOrder implements Serializable {


    @TableId(value = "store_purchase_order_id", type = IdType.AUTO)
    private Integer storePurchaseOrderId;

    /**
     * 店铺id
     */
    @ApiModelProperty("店铺id")
    private Integer storePurchaseOrderStoreId;

    /**
     * 订单总金额
     */
    @ApiModelProperty("订单总金额")
    private BigDecimal storePurchaseOrderTotal;

    /**
     * 订单状态 0:未付款 1:已付款  
     */
    @ApiModelProperty("订单状态 0:未付款 1:已付款 ")
    private Integer storePurchaseOrderStatus;

    /**
     * 订单的创建时间
     */
    @ApiModelProperty("订单的创建时间")
    private Date storePurchaseOrderTime;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录修改时间
     */
    private Date rawUpdateTime;


}
